<template>
  <!-- <img alt="Vue logo" src="./assets/logo.png" />
  <router-link to="/login">登录</router-link>
  <router-link to="/main">主页面</router-link>-->
  <div class="app">
    <!-- 国际化 - 中文 -->
    <el-config-provider :locale="zhCn">
      <router-view></router-view>
    </el-config-provider>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/lib/locale/lang/zh-cn'

// 不应该能看到我的
export default defineComponent({
  name: 'App',
  components: { ElConfigProvider },
  setup() {
    return { zhCn }
  }
})
</script>

<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  // text-align: center;
  color: #2c3e50;
  // margin-top: 60px;
  height: 100%;
  width: 100%;
}
</style>
